/**
 * 
 */
package com.mobipe.sutto.serverlogic;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @author kohachiro
 *
 */
public class Raid {
	final int id;
	final String name;
	final Map<String, String> properties;
	String password;
	int maxUsers;	
	/**
	 * 
	 */
	public Raid(int id,String name) {
		this.id=id;
		this.name=name;
		properties = new ConcurrentHashMap<String, String>();
	}	
	public void setPassword(String password) {
		this.password = password;
	}
	public void setMaxUsers(int maxUsers) {
		this.maxUsers = maxUsers;
	}	
	public void addProperty(String key,String value) {
		properties.put(key, value);
	}
	public String getName() {
		return this.name;
	}	
	public int getId() {
		return this.id;
	}	
	public int getMaxUsers() {
		return maxUsers;
	}
	public String getPassword() {
		return password;
	}
	public Map<String, String> getProperties() {
		return properties;
	}	
}
